package com.zhss.eshop.pay.mapper;

import com.zhss.eshop.pay.domain.PayTransactionDO;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * TODO
 *
 * @since 2021-05-15 16:24:12
 */
public interface PayTransactionMapper {

    PayTransactionDO queryById(Long id);

    List<PayTransactionDO> queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit);

    List<PayTransactionDO> queryAll(PayTransactionDO payTransactionDO);

    int save(PayTransactionDO payTransactionDO);

    int update(PayTransactionDO payTransactionDO);

    int deleteById(Long id);

}